package ooday01;

public class Car {
    String brand;
    int price;
    String color;

    Car() {

    }
    Car(String brand, int price, String color) {
        this.brand = brand;
        this.price = price;
        this.color = color;
    }

    void start() {
        System.out.println(brand + "牌，" + color + "的，" + price + "￥的车启动了。");
    }

    void run() {
        System.out.println(brand + "牌，" + color + "的，" + price + "￥的车开始跑了。");
    }

    void stop() {
        System.out.println(brand + "牌，" + color + "的，" + price + "￥的车停止了。");
    }

}
